<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QQtMultiPageTableWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_q_qt_multi_page_table_widget-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QQtMultiPageTableWidget Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_q_qt_multi_page_table_widget.html" title="The QQtMultiPageTableWidget class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是T...">QQtMultiPageTableWidget</a> class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是Table-DB关系，没有Tree/List模型  
 <a href="class_q_qt_multi_page_table_widget.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qqtmultipagetablewidget_8h_source.html">qqtmultipagetablewidget.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QQtMultiPageTableWidget:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_qt_multi_page_table_widget.png" usemap="#QQtMultiPageTableWidget_map" alt=""/>
  <map id="QQtMultiPageTableWidget_map" name="QQtMultiPageTableWidget_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:ae7bf13e587b5aa8597c85d24a42cdee3"><td class="memItemLeft" align="right" valign="top"><a id="ae7bf13e587b5aa8597c85d24a42cdee3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeSelectedRows</b> (int column=0)</td></tr>
<tr class="separator:ae7bf13e587b5aa8597c85d24a42cdee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7d0a9629be1044878f574c34428c5ff2"><td class="memItemLeft" align="right" valign="top"><a id="a7d0a9629be1044878f574c34428c5ff2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtMultiPageTableWidget</b> (QWidget *parent=0)</td></tr>
<tr class="separator:a7d0a9629be1044878f574c34428c5ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a726cff78085003ea970c6acb09971d8c"><td class="memItemLeft" align="right" valign="top"><a id="a726cff78085003ea970c6acb09971d8c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setDB</b> (QString db)</td></tr>
<tr class="separator:a726cff78085003ea970c6acb09971d8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae342d5d93fd2c525be62d38aa795e05"><td class="memItemLeft" align="right" valign="top"><a id="aae342d5d93fd2c525be62d38aa795e05"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTable</b> (QString table)</td></tr>
<tr class="separator:aae342d5d93fd2c525be62d38aa795e05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b124bdc8536f27f5207080ff240ad8"><td class="memItemLeft" align="right" valign="top"><a id="a65b124bdc8536f27f5207080ff240ad8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setRelation</b> (int column, const QSqlRelation &amp;relation)</td></tr>
<tr class="separator:a65b124bdc8536f27f5207080ff240ad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab825cab6143e067c6b3a166d52b07b6e"><td class="memItemLeft" align="right" valign="top"><a id="ab825cab6143e067c6b3a166d52b07b6e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setRecordNumPerPage</b> (int num)</td></tr>
<tr class="separator:ab825cab6143e067c6b3a166d52b07b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79ac77ba71ae325934d2a01d0c68a060"><td class="memItemLeft" align="right" valign="top"><a id="a79ac77ba71ae325934d2a01d0c68a060"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setColumnHidden</b> (int key, bool value=true)</td></tr>
<tr class="separator:a79ac77ba71ae325934d2a01d0c68a060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafbff3306cdd0e7120d4402d1670a5b9"><td class="memItemLeft" align="right" valign="top"><a id="aafbff3306cdd0e7120d4402d1670a5b9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSelectionMode</b> (QAbstractItemView::SelectionMode mode=QAbstractItemView::MultiSelection)</td></tr>
<tr class="separator:aafbff3306cdd0e7120d4402d1670a5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab33f0ced6d8f505fde4c561aa4627c12"><td class="memItemLeft" align="right" valign="top"><a id="ab33f0ced6d8f505fde4c561aa4627c12"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setResizeMode</b> (QHeaderView::ResizeMode mode=QHeaderView::ResizeToContents)</td></tr>
<tr class="separator:ab33f0ced6d8f505fde4c561aa4627c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9642df40aaeac8527a944805f21fdb59"><td class="memItemLeft" align="right" valign="top"><a id="a9642df40aaeac8527a944805f21fdb59"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setResizeMode</b> (int column, QHeaderView::ResizeMode mode=QHeaderView::ResizeToContents)</td></tr>
<tr class="separator:a9642df40aaeac8527a944805f21fdb59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29473350795715cfc9eaf0f143ee70ae"><td class="memItemLeft" align="right" valign="top"><a id="a29473350795715cfc9eaf0f143ee70ae"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setAlternatingRowColors</b> (bool alt=true)</td></tr>
<tr class="separator:a29473350795715cfc9eaf0f143ee70ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dae35ed532ec582e3dc7d49881b7ed5"><td class="memItemLeft" align="right" valign="top"><a id="a4dae35ed532ec582e3dc7d49881b7ed5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setHeaderData</b> (Qt::Orientation, QStringList dataList)</td></tr>
<tr class="separator:a4dae35ed532ec582e3dc7d49881b7ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab05d02d35fbde9b327c3117ab9045ed2"><td class="memItemLeft" align="right" valign="top"><a id="ab05d02d35fbde9b327c3117ab9045ed2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setHeaderData</b> (int i, Qt::Orientation, QString data)</td></tr>
<tr class="separator:ab05d02d35fbde9b327c3117ab9045ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aadaa155857a945b4c6c6d47d1056a2"><td class="memItemLeft" align="right" valign="top"><a id="a7aadaa155857a945b4c6c6d47d1056a2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setColumnWidth</b> (int column, int width)</td></tr>
<tr class="separator:a7aadaa155857a945b4c6c6d47d1056a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc2f2ea39424a98af0759e055bb5144"><td class="memItemLeft" align="right" valign="top"><a id="a3dc2f2ea39424a98af0759e055bb5144"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>query</b> (QString filter=&quot;1=1&quot;)</td></tr>
<tr class="separator:a3dc2f2ea39424a98af0759e055bb5144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6966cc86f5eec73cfa86c025acdf208b"><td class="memItemLeft" align="right" valign="top"><a id="a6966cc86f5eec73cfa86c025acdf208b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>selectedRows</b> (int column, QVector&lt; QStringList &gt; &amp;strl)</td></tr>
<tr class="separator:a6966cc86f5eec73cfa86c025acdf208b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f030ec901acb1454de5c0d94ee453a8"><td class="memItemLeft" align="right" valign="top"><a id="a5f030ec901acb1454de5c0d94ee453a8"></a>
<a class="el" href="class_q_qt_table_widget.html">QQtTableWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>selectedRows</b> (int column=0)</td></tr>
<tr class="separator:a5f030ec901acb1454de5c0d94ee453a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad093b2a0940a227e31a439e4fea9d2a"><td class="memItemLeft" align="right" valign="top"><a id="aad093b2a0940a227e31a439e4fea9d2a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>pageNum</b> ()</td></tr>
<tr class="separator:aad093b2a0940a227e31a439e4fea9d2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac403d2695447b137bedfc20bb8446f8e"><td class="memItemLeft" align="right" valign="top"><a id="ac403d2695447b137bedfc20bb8446f8e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>currentPage</b> ()</td></tr>
<tr class="separator:ac403d2695447b137bedfc20bb8446f8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61be3a03abbc76f5400cdcdd9727ec01"><td class="memItemLeft" align="right" valign="top"><a id="a61be3a03abbc76f5400cdcdd9727ec01"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCurrentPage</b> (int page)</td></tr>
<tr class="separator:a61be3a03abbc76f5400cdcdd9727ec01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_q_qt_multi_page_table_widget.html" title="The QQtMultiPageTableWidget class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是T...">QQtMultiPageTableWidget</a> class 关于视图规格的改变改变到上层 这里的控件使用默认视图 这里的控件只是Table-DB关系，没有Tree/List模型 </p>
<p>第一次查询，为数据准备页面，速度较慢。 后来，变动时，只有导致页数变动时才会慢一点点的感觉。 平时查看，都是极速。 </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/frame/<a class="el" href="qqtmultipagetablewidget_8h_source.html">qqtmultipagetablewidget.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/frame/qqtmultipagetablewidget.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
